package com.ctshk.rpc.order.season.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 杨林
 * @version 1.0
 * @date 2021/3/24 11:48
 */
@Data
@ApiModel(value = "SeasonOrderInsuranceDTO对象", description = "固定套票订单保险信息")
public class SeasonOrderInsuranceDTO implements Serializable {

    @ApiModelProperty(value = "保险id")
    private Long insuranceId;

    @ApiModelProperty(value = "保险名称")
    private String insuranceName;

    @ApiModelProperty(value = "保险开始日期")
    private LocalDateTime insuranceStartDate;

    @ApiModelProperty(value = "保险结束日期")
    private LocalDateTime insuranceEndDate;

    @ApiModelProperty(value = "保险单号")
    private String insuranceNumber;

    @ApiModelProperty(value = "保险价格")
    private BigDecimal insurancePrice;
    //枚举InsuranceType
    @ApiModelProperty(value = "保险类型(機票8,火車票9,船票10,巴士票11)")
    private Integer insuranceType;

    @ApiModelProperty(value = "投保人")
    private Long policyHolderId;

    @ApiModelProperty(value = "投保人名称")
    private String policyHolderName;

    @ApiModelProperty(value = "旅客唯一标识集合")
    private List<String> insuredPersons;
}